package one.stand.mapper;

import one.stand.model.FinanceModel;
import one.stand.model.InputDealMoneyModel;

import java.util.List;

/**
 * @author Administrator
 */
public interface InputDealMoneyMapper {

    int deleteByPrimaryKey(Integer inputDealId);

    int insertSelective(InputDealMoneyModel record);

    InputDealMoneyModel selectByPrimaryKey(Integer inputDealId);

    List<FinanceModel> selectFinanceDeal(FinanceModel model);

    Integer selectFinanceDealMoney(FinanceModel model);

    Integer selectFinanceSum(FinanceModel model);

    int updateByPrimaryKeySelective(InputDealMoneyModel record);

    /**
     * 成交记录
     * @param inputDealMoneyModel
     * @return
     */
    List<InputDealMoneyModel> getInputDealList(InputDealMoneyModel inputDealMoneyModel);

    List<FinanceModel> selectInputDealSort(FinanceModel record);

    List<FinanceModel> selectInputDealMySort(FinanceModel record);

    Integer selectDelMoney(Integer cardId);
}